﻿<Window x:Class="SimpleCalc.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Button Content="7" Height="23" HorizontalAlignment="Left" Margin="23,94,0,0" Name="Button_7" VerticalAlignment="Top" Width="75" Click="Button_7_Click" />
        <Button Content="8" Height="23" HorizontalAlignment="Left" Margin="120,94,0,0" Name="Button_8" VerticalAlignment="Top" Width="75" Click="Button_8_Click" />
        <Button Content="9" Height="23" HorizontalAlignment="Left" Margin="218,94,0,0" Name="Button_9" VerticalAlignment="Top" Width="75" Click="Button_9_Click" />
        <Button Content="+" Height="23" HorizontalAlignment="Left" Margin="317,94,0,0" Name="Add" VerticalAlignment="Top" Width="75" Click="Add_Click" />
        <Button Content="4" Height="23" HorizontalAlignment="Left" Margin="24,142,0,0" Name="Button_4" VerticalAlignment="Top" Width="75" Click="Button_4_Click" />
        <Button Content="5" Height="23" HorizontalAlignment="Left" Margin="120,142,0,0" Name="Button_5" VerticalAlignment="Top" Width="75" Click="Button_5_Click" />
        <Button Content="6" Height="23" HorizontalAlignment="Right" Margin="0,142,210,0" Name="Button_6" VerticalAlignment="Top" Width="75" Click="Button_6_Click" />
        <Button Content="-" Height="23" HorizontalAlignment="Right" Margin="0,142,111,0" Name="Subtract" VerticalAlignment="Top" Width="75" Click="Subtract_Click" />
        <Button Content="1" Height="23" HorizontalAlignment="Left" Margin="23,186,0,0" Name="Button_1" VerticalAlignment="Top" Width="75" Click="Button_1_Click" />
        <Button Content="2" Height="23" HorizontalAlignment="Left" Margin="120,186,0,0" Name="Button_2" VerticalAlignment="Top" Width="75" Click="Button_2_Click" />
        <Button Content="3" Height="23" HorizontalAlignment="Left" Margin="218,186,0,0" Name="Button_3" VerticalAlignment="Top" Width="75" Click="Button_3_Click" />
        <Button Content="*" Height="23" HorizontalAlignment="Left" Margin="317,186,0,0" Name="Multiply" VerticalAlignment="Top" Width="75" Click="Multiply_Click" />
        <Button Content="0" Height="23" HorizontalAlignment="Left" Margin="24,232,0,0" Name="Button_0" VerticalAlignment="Top" Width="171" Click="Button_0_Click" />
        <Button Content="." Height="23" HorizontalAlignment="Left" Margin="218,232,0,0" Name="Decimal" VerticalAlignment="Top" Width="75" />
        <Button Content="/" Height="23" HorizontalAlignment="Right" Margin="0,232,111,0" Name="Divide" VerticalAlignment="Top" Width="75" Click="Divide_Click" />
        <Button Content="Backspace" Height="23" HorizontalAlignment="Left" Margin="416,94,0,0" Name="Backspace" VerticalAlignment="Top" Width="75" Click="Backspace_Click" />
        <Button Content="=" Height="69" HorizontalAlignment="Left" Margin="416,186,0,0" Name="Equals" VerticalAlignment="Top" Width="75" Click="Equals_Click" />
        <Border BorderBrush="Silver" BorderThickness="1" Height="67" HorizontalAlignment="Left" Margin="23,12,0,0" Name="border1" VerticalAlignment="Top" Width="470">
            <Grid>
                <Label Content="" Height="28" HorizontalAlignment="Right" Margin="0,6,0,0" Name="EquationEntered" VerticalAlignment="Top" Width="469" />
                <TextBox Height="24" Name="Value" Width="467" Margin="0,34,0,6" Text="0" TextAlignment="Right" IsReadOnly="True" />
            </Grid>
        </Border>
        <Button Content="Clear" Height="23" HorizontalAlignment="Left" Margin="416,142,0,0" Name="Clear" VerticalAlignment="Top" Width="75" Click="Clear_Click" />
    </Grid>
</Window>
